<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@taglib uri="nfk" prefix="nfk"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@include file="common.jsp" %>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>养老项目CRM</title>

<link rel="stylesheet" type="text/css" href="${ctx }/easyui/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="${ctx }/easyui/themes/icon.css">

<script type="text/javascript" src="${ctx }/easyui/jquery.min.js"></script>
<script type="text/javascript" src="${ctx }/easyui/jquery.easyui.min.js"></script>
<script type="text/javascript" src="${ctx }/easyui/locale/easyui-lang-zh_CN.js"></script>

<style type="text/css">
	body{
		margin-top: 0px;
		margin-left: 0px;
		margin-bottom: 0px;
		margin-right: 0px;
	}
	
	ul li{
		margin-top: 15;
		cursor: pointer;
	}
	
</style>

<script type="text/javascript">
	function login_submit() {
		$('#ff').submit();
	}
</script>
</head>
<body>

	<div id="p" class="easyui-panel" title="登陆到CRM" left="100px" top="100px"
        style="width:500px;height:200px;padding:10px;background:#fafafa;  
        data-options="iconCls:'icon-login'">  
	    <s:form id="ff" action="login" namespace="/" method="post">
	    	<table>
	    		<tr>
	    			<td width="60">CRM账号:</td>
	    			<td><input type="text" class="easyui-validatebox" data-options="required:true" id="userParam.userId" name="userParam.userId" value="${userParam.userId }"/></td>
	    		</tr>
	    		<tr>
	    			<td>密码:</td>
	    			<td><input type="password" class="easyui-validatebox" data-options="required:true" id="userParam.password" name="userParam.password" value=""/></td>
	    		</tr>
	    		<tr>
	    			<td></td>
	    			<td><a href="javascript:void(0)" class="easyui-linkbutton" onclick="javascript:login_submit();">登陆</a></td>
	    		</tr>
	    		<tr>
	    			<td></td>
	    			<td><span style="color:#ff0000">${returnValue }</span></td>
	    		</tr>
	    	</table>
			
		</s:form>
		
</div> 

	
	
	
</body>
</html>